package com.cloudlead.common.lang.annotation;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * 标注需要忽略的字段
 * 
 * <pre>
 * public class UserVO {
 * 	private String name;
 * 	
 * 	@IgnoreProperty
 * 	private String password;
 * </pre>
 * 
 * @author dean.lu
 */
@Target({ FIELD, METHOD, })
@Retention(RUNTIME)
@Documented
public @interface IgnoreProperty {

	Class<?>[] groups() default {};

}
